MailPoet\Segments\WP A

Total Complexity 57
Dependencies 23
Dependents 8
Total lines 412
Lines of code 273
Logical lines of code 159
Comment lines 53
Methods 14
Properties 11

Methods 14

Method Rating Maintainability Complexity Lines of code
handleCreatingOrUpdatingSubscriber()
C
32 29 92
createOrUpdateSubscriber()
S
53 7 25
insertSubscribers()
S
50 3 30
synchronizeUser()
S
58 4 14
removeUpdatedSubscribersWithInvalidEmail()
S
61 3 12
synchronizeUsers()
S
55 2 21
updateSubscribersEmails()
S
56 2 18
__construct()
S
60 1 13
updateFirstNames()
S
64 1 11
updateLastNames()
S
64 1 11
deleteSubscriber()
S
77 1 4
updateFirstNameIfMissing()
S
65 1 10
insertUsersToSegment()
S
65 1 9
removeOrphanedSubscribers()
S
82 1 3